#ifndef SETTINGSWINDOW_H
#define SETTINGSWINDOW_H

#include <QDialog>
#include <QSettings>
#include <QSize>

namespace Ui {
    class SettingsWindow;
}

class SettingsWindow : public QDialog
{
    Q_OBJECT

public:
    explicit SettingsWindow(QDialog *parent = 0);
    ~SettingsWindow();

    void setDefaultDir(QString& dir);
    QSize minSize() const;

public slots:
    void onChooseButtonClicked();
    void onOkButtonClicked();
    void onCancelButtonClicked();

private:
    Ui::SettingsWindow *ui;
    QSettings settings;
};

#endif // SETTINGSWINDOW_H
